import {defineStore} from 'pinia'

export const useRegisterStore = defineStore('register', {
    state: () => {
        return {
            useraccount: '',
            password: '',
            username: '',
            position: ''
        }
    },
    getters: {},
    actions: {
        registerUser(useraccount: string, password: string, username: string, position: string) {
            this.username = username
            this.password = password
            this.useraccount = useraccount
            this.position = position
        }
    }

})
